package cn.tedu.cwfw.comment.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CommentVO {
    @ApiModelProperty(value = "评论id")
    private Long id;
    @ApiModelProperty(value = "用户id")
    private Long clientId;
    @ApiModelProperty(value = "动态id")
    private Long dynamicId;
    @ApiModelProperty(value = "评论内容")
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "评论时间")
    private Date createTime;
    @ApiModelProperty(value = "评论点赞数")
    private Long likeCount;
    @ApiModelProperty(value = "父评论id")
    private Long parentId;
    @ApiModelProperty(value = "评论层级")
    private Long level;
    @ApiModelProperty(value = "用户名")
    private String clientName;
    @ApiModelProperty(value = "用户头像")
    private String clientAvatar;
}
